package com.pccc.batch.config.remotepartition.step;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemWriter;

import com.pccc.batch.config.remotepartition.model.Person;

/**
 * 功能
 *
 * @author xueah20964 2018/10/14 Create 1.0  <br>
 * @version 1.0
 */
public class SimpleItemWriter implements ItemWriter<Person> {

	private static final Logger log = LoggerFactory.getLogger(SimpleItemWriter.class);
	
    @Override
    public void write(List<? extends Person> list) throws Exception {
        for (Person each: list) {
            log.info("处理后结果: {}", each);
        }
    }
}
